package cn.springcloud.alibaba.sys.feign;

import cn.springcloud.alibaba.core.base.Result;
import cn.springcloud.alibaba.sys.dto.SysUserDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "sys-server", path = "/sys/v1/sys-user")
public interface SysUserFeignClient {

	@GetMapping("/getSysUserByUserName")
	Result<SysUserDTO> getSysUserByUserName(String username);

}
